let base='/my-blog/';
module.exports = {
  // dest: 'my-blog',
  base:base,
  theme: 'reco',
  dest: "public",
  title: " ",
  description: ' ',
  head: [
  ],
  themeConfig: {
    type: 'blog',
    huawei: false,
    nav: [
      { text: '首页', link: '/', icon: 'reco-home' },
      { text: '时间线', link: '/timeline/', icon: 'reco-date' },
      { text: '我', link: '/about/', icon: 'reco-account'},
      { text: '与我相关',
        icon: 'reco-message',
        items: [
          { text: 'GitHub', link: 'https://github.com/wmb0412', icon: 'reco-github' },
        ]
      }
    ],
    friendLink: [
      {
        title: '午后南杂',
        desc: 'Enjoy when you can, and endure when you must.',
        email: '1156743527@qq.com',
        link: 'https://www.recoluan.com'
      },
      {
        title: 'vuepress-theme-reco',
        desc: 'A simple and beautiful vuepress Blog & Doc theme.',
        avatar: "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
        link: 'https://vuepress-theme-reco.recoluan.com'
      },
    ],
    // 博客设置
    blogConfig: {
      category: {
        location: 2, // 在导航栏菜单中所占的位置，默认2
        text: '分类' // 默认 “分类”
      },
      tag: {
        location: 3, // 在导航栏菜单中所占的位置，默认3
        text: '标签' // 默认 “标签”
      }
    },
    logo: '/head2.png',
    // 搜索设置
    search: true,
    searchMaxSuggestions: 10,
    // 自动形成侧边导航
    // sidebarDepth: 1,
    // displayAllHeaders: false,
    sidebar: 'auto',
    // 最后更新时间
    lastUpdated: 'Last Updated',
    // 作者
    author: '王明宝',
    authorAvatar: '/head2.png',
    // 项目开始时间
    startYear: '2018',
    /**
     * valine 设置 (if you need valine comment )
     */
    valineConfig: {
      appId: 'XDwlSXS2pD137bPrPpwQaqqD-gzGzoHsz',// your appId
      appKey: 'CQ8FKrMUP76LwycPcKlDoRqV', // your appKey
      // placeholder: '是时候展现真正的技术了',
      // avatar: 'wavatar',
    }
  },
  markdown: {
    lineNumbers: true
  },
  plugins: [
    [
      require('./plugins/KanBanNiang'),
      {
        theme: ['haruto','blackCat', 'whiteCat', 'haru1', 'haru2', 'koharu', 'izumi', 'shizuku', 'wanko', 'miku', 'z16'],
        width: 200,
        height: 470,
        modelStyle: {
          position: 'fixed',
          right: '80px',
          bottom: '-100px',
          opacity: '0.9' 
        },
        messageStyle: {
          position: 'fixed',
          right: '0',
          bottom: '250px'
        },
        btnStyle: {
          bottom: '60px',
          right: '60px'
        }
      }
    ],
    [
      require('./plugins/BgMusic'),
      {
        audios: [
          {
            name: '晴天--qq音乐',
            artist: '周杰伦',
            url:'https://wmb0412.oss-cn-beijing.aliyuncs.com/music/%E5%91%A8%E6%9D%B0%E4%BC%A6-%E6%99%B4%E5%A4%A9.mp3',
            cover: 'https://wmb0412.oss-cn-beijing.aliyuncs.com/music/%E4%B8%8B%E8%BD%BD.jpeg'
          },
          {
            name: 'My Jinji--网易云',
            artist: '落日飞车',
            url:'https://wmb0412.oss-cn-beijing.aliyuncs.com/music/myjinji.m4a',
            cover: 'http://p2.music.126.net/UWWcyf4Q-7F-4cIUh5NE1w==/18825838091725130.jpg?param=130y130'
          },
          {
            name: '稻香--qq音乐',
            artist: '周杰伦',
            url:'https://wmb0412.oss-cn-beijing.aliyuncs.com/music/%E5%91%A8%E6%9D%B0%E4%BC%A6-%E7%A8%BB%E9%A6%99.mp3',
            cover: 'https://wmb0412.oss-cn-beijing.aliyuncs.com/music/%E7%A8%BB%E9%A6%99.jpg'
          },
          {
            name: 'summer(菊次郎的夏天)--网易云',
            artist: '久石譲',
            url:'https://wmb0412.oss-cn-beijing.aliyuncs.com/music/summer.mp3',
            cover: 'http://p2.music.126.net/1qUu2mkawtQ4pbXfCglo3Q==/109951163008469051.jpg?param=130y130'
          },
          {
            name: '青春(청춘)--网易云',
            artist: 'Sanulrim',
            url:'https://wmb0412.oss-cn-beijing.aliyuncs.com/music/qingchun.mp3',
            cover: 'http://p1.music.126.net/G0BBi5VqTbX-VgH5ob1PrA==/322156906940065.jpg?param=130y130'
          },
          {
            name: 'Hey KONG--网易云',
            artist: '刘聪KEY.L / $CC731',
            url:'https://wmb0412.oss-cn-beijing.aliyuncs.com/music/heikong.m4a',
            cover: 'http://p1.music.126.net/YLAFRcCLx5xkRoytOXTWDg==/109951164290114876.jpg?param=130y130'
          }
        ],
        autoplay:true
      }
    ]
    ,
    [
      '@vuepress/pwa', 
      {
        serviceWorker: true,
        updatePopup: {
          message: "发现新内容可用",
          buttonText: "刷新"
        }
      }
    ]
  ]
}  